/*
========================================================================
 Name        : CallDetailTrackerAppUi.h
 Author      : 
 Copyright   : Your copyright notice
 Description : 
========================================================================
*/
#ifndef CALLDETAILTRACKERAPPUI_H
#define CALLDETAILTRACKERAPPUI_H

// [[[ begin generated region: do not modify [Generated Includes]
#include <aknviewappui.h>
// ]]] end generated region [Generated Includes]

#include "Log_Monitor.h"

// [[[ begin generated region: do not modify [Generated Forward Declarations]
class CCallDetailTrackerMainFormView;
class CCallDetailTrackerViewReportOptionsFormView;
class CCallDetailTrackerGenerateReportFormView;
class CCallDetailTrackerManualTransferFormView;
class CCallDetailTrackerProgressingFormView;
class CCallDetailTrackerDeleteCallLogSelectorView;
class CCallDetailTrackerMainControlerView;
// ]]] end generated region [Generated Forward Declarations]

/**
 * @class	CCallDetailTrackerAppUi CallDetailTrackerAppUi.h
 * @brief The AppUi class handles application-wide aspects of the user interface, including
 *        view management and the default menu, control pane, and status pane.
 */
class CCallDetailTrackerAppUi : public CAknViewAppUi
	{
public: 
	// constructor and destructor
	CCallDetailTrackerAppUi();
	virtual ~CCallDetailTrackerAppUi();
	void ConstructL();

public:
	// from CCoeAppUi
	TKeyResponse HandleKeyEventL(
				const TKeyEvent& aKeyEvent,
				TEventCode aType );

	// from CEikAppUi
	void HandleCommandL( TInt aCommand );
	void HandleResourceChangeL( TInt aType );

	// from CAknAppUi
	void HandleViewDeactivation( 
			const TVwsViewId& aViewIdToBeDeactivated, 
			const TVwsViewId& aNewlyActivatedViewId );

private:
	void InitializeContainersL();
	// [[[ begin generated region: do not modify [Generated Methods]
public: 
	// ]]] end generated region [Generated Methods]
	
	// [[[ begin generated region: do not modify [Generated Instance Variables]
private: 
	CCallDetailTrackerMainFormView* iCallDetailTrackerMainFormView;
	CCallDetailTrackerViewReportOptionsFormView* iCallDetailTrackerViewReportOptionsFormView;
	CCallDetailTrackerGenerateReportFormView* iCallDetailTrackerGenerateReportFormView;
	CCallDetailTrackerManualTransferFormView* iCallDetailTrackerManualTransferFormView;
	CCallDetailTrackerProgressingFormView* iCallDetailTrackerProgressingFormView;
	CCallDetailTrackerDeleteCallLogSelectorView* iCallDetailTrackerDeleteCallLogSelectorView;
	CCallDetailTrackerMainControlerView* iCallDetailTrackerMainControlerView;
	// ]]] end generated region [Generated Instance Variables]
	
	MLogMonitor* mMonitor;
	CLogMonitor* cMonitor;
	
	// [[[ begin [User Handlers]
protected: 
	TBool HandleControlPaneRightSoftKeyPressedL( TInt aCommand );
	// ]]] end [User Handlers]
	
	};

#endif // CALLDETAILTRACKERAPPUI_H			
